﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebSEClassLibrary
{
    public class CommonDialog:Dialog
    {
        /// <summary>
        /// 下一个对话
        /// </summary>
        private Dialog nextDialog;

        public Dialog NextDialog
        {
            get { return nextDialog; }
            set { nextDialog = value; }
        }
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="id"></param>
        public CommonDialog(int id):base(id)
        {
            //从XML中读取有关于该Dialog的下一个Dialog的信息
        }
        /// <summary>
        /// 实现基类的虚函数,获取下一个对话
        /// </summary>
        /// <param name="choiceId">此ID没用,只为了在基类方便</param>
        /// <returns>下一个对话</returns>
        public override Dialog getNextDialog(int choiceId)
        {
            return this.nextDialog;
        }
    }
}
